package com.syl.entity;

import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

/**
 * @Classname Emp
 * @Description
 * @Date 2025/8/8 19:40
 * @Created by SYL
 */

@Data
@Component
public class Emp {
    private Integer empno;
    private String ename;
    private String job;
    private Integer mgr;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hiredate;
    private Double sal;
    private Double comm;
    private Integer deptno;


}
